package com.lhy.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Devices implements Serializable {
    private String deviceId; //设备编号
    private String deviceName;  //设备名称
    private String deviceStatus;  //设备状态
    private String position;  //设备位置
    private String purpose;  //设备用途
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date updateTime;  //操作时间
    private List<Repair> repair;  //维修记录

}
